package com.yt.order.models.bo;

import com.yt.common.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 工单信息BO
 *
 * @author zhou
 * @Date 2025-09-06 10:41:50
 */
@Data
public class WorkOrderInfoBO extends BaseBO implements Serializable {
    @ApiModelProperty(value = "状态(0待接单 1已接单 2免费)")
    private Integer payStatus;

    @ApiModelProperty(value = "开始时间")
    private Date startDate;

    @ApiModelProperty(value = "结束时间")
    private Date endDate;

    @ApiModelProperty(value = "工单类型(0客户下单,1自建工单)")
    private Integer type;

    @ApiModelProperty(value = "订单id")
    private Long id;

    @ApiModelProperty(value = "状态(0待处理 1处理中 2已完成")
    private Integer status;

    @ApiModelProperty(value = "工单标题")
    private String title;

    @ApiModelProperty(value = "客户名称")
    private String name;

    @ApiModelProperty(value = "客户地址")
    private String address;

    @ApiModelProperty(value = "优先级(1低 2中 3高)")
    private Integer priority;

    @ApiModelProperty(value = "员工id")
    private Long employeeId;

    @ApiModelProperty(value = "客户id")
    private Long customerId;

    @ApiModelProperty(value = "退单客户id")
    private Long retreatId;

    @ApiModelProperty(value = "是否评论")
    private Integer isEvaluation;
}

